/**
 * Created by lf on 2015/3/25.
 */
exports.addCategory = function(req, res, next) {
    console.log('把一个栏目写入了数据库');
    next();
};
exports.getCategoryByIndex = function(req, res, next) {
    console.log('从数据库取了一个栏目');
    next();
}